package com.longcai.service.homepage;

import com.longcai.bean.ApiResult;
import com.longcai.entity.homepage.ClyjUserSearch;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LWK
 * @since 2019-03-20
 */
public interface ClyjUserSearchService extends IService<ClyjUserSearch> {

    /**
     * 查询类型所有子类
     *
     * @param name
     * @return
     */
    List findTypeTree(String name);

    /**
     * 搜索显示候选词
     *
     * @param keyvalue
     * @return
     */
    Map<String, Object> getSearchkey(String keyvalue);


    List getChildren(String parentId, List list);
}
